package com.tedu.openmedical.medicalsystem.ICD10.mapper;

import com.tedu.openmedical.medicalsystem.ICD10.dto.ICDQuery;
import com.tedu.openmedical.medicalsystem.ICD10.entity.ICD;
import com.tedu.openmedical.medicalsystem.ICD10.vo.ICDVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface ICDMapper {
    List<ICDVO> select(ICDQuery query);

    void insert(ICD ICD);

    void update(ICD ICD);

    void delete(Long id);
}
